package  
{
	import away3d.core.base.Geometry;
	import away3d.primitives.CubeGeometry;
	import away3d.primitives.PlaneGeometry;
	import kizzo.game.Game;
	/**
	 * ...
	 * @author kizzo
	 */
	public class GeometryLib
	{
		public static var TILE:Geometry;		
		public static var TILE2:Geometry;		
		public static var ROT_ICON:Geometry;
		public static var CUBE:Geometry;
		
		public function GeometryLib() 
		{
			
		}
		
		
		public static function init():void
		{
			TILE = new CubeGeometry(Game.TILE - Game.TILE_SHRINK, Game.TILE_HEIGHT, Game.TILE - Game.TILE_SHRINK, 1, 1, 1, true);			
			//TILE = new PlaneGeometry((Game.TILE-1, Game.TILE-1));
			
			TILE2 = new CubeGeometry(Game.TILE - Game.TILE_SHRINK, Game.TILE_HEIGHT, Game.TILE - Game.TILE_SHRINK, 1, 1, 1, false);			
			//TILE2 = new PlaneGeometry((Game.TILE-1, Game.TILE-1));
			
			ROT_ICON = new CubeGeometry(Game.TILE, Game.TILE_HEIGHT, Game.TILE, 1, 1, 1, true);	
			
			CUBE = new CubeGeometry(Game.TILE, Game.TILE, Game.TILE, 1, 1, 1, false);
		}
	}

}